package com.aiti.lulian.mapper.gxmh;

import com.aiti.lulian.gxmh.dto.GxmhPolicyVisitParamDto;
import com.aiti.lulian.gxmh.dto.GxmhPolicyVisitVo;
import com.aiti.lulian.gxmh.entity.GxmhPolicyVisit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GxmhPolicyVisitMapper extends BaseMapper<GxmhPolicyVisit> {

    void updateClickCount(@Param("baseId")String baseId, @Param("userId")String userId);

    List<GxmhPolicyVisitVo> queryPolicyVisitList(@Param("page") IPage<GxmhPolicyVisitVo> page, @Param("dto") GxmhPolicyVisitParamDto dto);
}
